.middle {
    display: flex;
    justify-content: center;
    margin: 50px;
}

.middle > div {
    width: 1000px;
    border: 1px solid red;

}

.news-title {
    padding: 10px;
    font-size: 30px;
    color: rgb(230, 145, 55);
}

.middle > div > div:nth-child(1) {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid red;
}

.middle > div > div:nth-child(1) > div:nth-child(2) {
    display: flex;
    align-items: center;
}

.middle > div > div:nth-child(1) > div:nth-child(2) > div {
    padding: 0 30px;
    line-height: 61px;
    background-color: rgb(243, 243, 243);
}

.middle > div > div:nth-child(1) > div:nth-child(2) > div:hover {
    background-color: rgb(230, 144, 57);
    color: white;
}

/*-----------------------------产品详细---------------*/
.product {
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
}

.product > div {
    width: 230px;
    margin-right: 15px;
    margin-bottom: 15px;
    color: gray;

}

.product > div > div > img {
    width: 230px;
    height: 230px;
}

.product > div > div:nth-child(2) > div:nth-child(1) {
    color: black;
    font-weight: bold;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
}

.product > div > div:nth-child(2) > div:nth-child(2) > span:last-child {
    color: red;
}

.product > div > div:nth-child(2) > div:nth-child(3) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}